package com.rex.web;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by frt on 2017/11/1.
 *
 */
@RestController
@RequestMapping(value = "/hellWord")
public class HelloWorldController {
    @RequestMapping(value = "/helloWorld")
    public String helloWorld(){
        return "Hello World";
    }
}
